import request from '@/utils/request';

export default {
  getBusinessInfo(params) {
    return request({
      url: '/leshuo/getBusinessInfo',
      method: 'get',
      params
    });
  },
  getNewsList(params) {
    return request({
      url: '/leshuo/getNewsList',
      method: 'get',
      params
    });
  },
  getNewsListById(params) {
    return request({
      url: '/leshuo/getNewsListById',
      method: 'get',
      params
    });
  },
  addMessage(data) {
    return request({
      url: '/leshuo/addMessage',
      method: 'post',
      data
    });
  },
  serviceProInfo(params) {
    return request({
      url: '/leshuo/serviceProInfo',
      method: 'get',
      params
    });
  },
  getAbout() {
    return request({
      url: '/leshuo/getAbout',
      method: 'get'
    });
  },
  getCondition() {
    return request({
      url: '/leshuo/getCondition',
      method: 'get'
    });
  }
};
